// [[ OnflowGenerator File UUID: f81a36c28ea0480dbae93bdd6e9e9a35  ]]
package com.itdct.onflow.system.monitor.mapper;

import com.itdct.onflow.core.mapper.BaseMapper;
import com.itdct.onflow.core.vo.KeyLabelValueVo;
import com.itdct.onflow.system.monitor.entity.SysMachineInfoEntity;
import com.itdct.onflow.system.monitor.qo.SysMachineInfoSearchQo;
import com.itdct.onflow.system.monitor.vo.SysMachineInfoDetailVo;
import com.itdct.onflow.system.monitor.vo.SysMachineInfoListVo;

import org.apache.ibatis.annotations.Mapper;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * @author DCTANT
 * @date 2025-10-13 10:48:15
 * @version 1.0
 * @description 服务器信息查询工具
 */
@Mapper
public interface SysMachineInfoMapper extends BaseMapper<SysMachineInfoEntity> {
    @Nullable
    SysMachineInfoDetailVo findById(Long id);

    @NotNull
    List<SysMachineInfoListVo> findByList(SysMachineInfoSearchQo qo);

    // [[ OnflowGenerator Range (- selectFunctions -) Start ]]
    @NotNull
    List<KeyLabelValueVo> selectMachineIdList(SysMachineInfoSearchQo qo);

// [[ OnflowGenerator Range (- selectFunctions -) End ]]

}
